define(function(require){
    var $ = require('$');

    function resize(){
        var h = (document.documentElement.clientHeight - 79) + 'px';

        $('.body-wrap').css('height',h);
    }

    resize();

    $(document).resize(function(){
        resize();
    });
	
	var AutoComplete = require('autocomplete');
    new AutoComplete({
        trigger: '#choose',
        dataSource: ['abc', 'abd', 'abe', 'acd']
    }).render();

});